GTK_CFLAGS=`pkg-config gtk+-2.0 --cflags`
GTK_LIBS=`pkg-config gtk+-2.0 --libs`

all : main.o  html.o gui.o
	cc main.o html.o -o superXDownloader -w $(GTK_LIBS) gui.o


main.o : main.c
	cc -c main.c $(GTK_CFLAGS) -w

clean :
	rm -v *.o

html.o : html.c
	cc -c html.c $(GTK_CFLAGS) -w

gui.o : gui.c
	cc -c gui.c $(GTK_CFLAGS) -w
